[paket]
tanim   = Şifrelerin güvenli biçimde işletilmesini sağlayana uygulama
paketci = Cihan_Alkan
grup 	= temel
url     = http://shadow.pld.org.pl

[gerek]
derleme    = libxcrypt
calisma    = libxcrypt

[kaynak]
xz      = https://github.com/shadow-maint/shadow/releases/download/$surum
1= https://crux.nu/ports/crux-3.6/core/shadow/pwck
2= https://crux.nu/ports/crux-3.6/core/shadow/login.defs
3= https://notabug.org/aylinux/ceviriler/raw/master/shadow-tr.po

[sha256]
#1 		= 0998c8d84242a231ab0acb7f8613927ff5bcff095f8aa6b79478893a03f05583

[derle]
betik = rm po/tr.po
betik = mv /sources/shadow-tr.po po/tr.po
betik =  autoreconf -fsiv
betik =  sed -i 's/groups$(EXEEXT) //' src/Makefile.in
betik =  find man -name Makefile.in -exec sed -i 's/groups\.1 / /'   {} \;
betik =  find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
betik =  find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \;
betik =  sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e 's@/var/spool/mail@/var/mail@' etc/login.defs
betik =  sed -i 's/1000/999/' etc/useradd
betik = ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --libdir=/usr/lib --mandir=/usr/share/man --sysconfdir=/etc --disable-account-tools-setuid --with-libpam --with-group-name-max-length=32 --without-selinux
betik =  make
	      
[pakur]
dosya	= pakur.sh
#betik   = rm -rf $PKG/usr/bin/newgrp
#betik   = rm -rf $PKG/usr/bin/vigr 
#betik   = rm -rf $PKG/usr/bin/vipw 
#betik   = rm -rf $PKG/usr/share/man/man1/newgrp.1.gz 
#betik   = rm -rf $PKG/usr/share/man/man8/vigr.8.gz 
#betik   = rm -rf $PKG/usr/share/man/man8/vipw.8.gz 
#betik = mv $PKG/usr/sbin/* $PKG/usr/bin/
#betik = rmdir $PKG/usr/sbin

